/**
 * File used to define the appearance of the page used to show single documents
 * Author: Lorenzo Baracchi <lorenzo.baracchi@usi.ch>
*/

h2.title{
   margin-left: 2%;  
}

div.hidden{
    display: none;
}

div.commit,div.email {
    width: 80%;
    margin: auto;
    background-color: #F9F9F9;
    padding:5px;
    border: 1px solid #30302F;
    border-radius: 15px;
}

div table{
    width: 95%;
    padding: 5px;
    margin: auto;
    margin-left: 2%;
}

div.commit table#changes{
    margin-top: 20px;
}

table th{
    text-align: left;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}
table td{
    text-align: right;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}
table td:first-child{
    text-align: left;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: bold;
}
table tr:nth-child(odd)  {
    background-color: #EBECF0;
}
table tr:nth-child(even) {
    background-color: #FFF;
}

table#changes {
    width: 60%;
    margin-left: 2%;
    margin-top: 2px;
}
table#changes tr:nth-child(4n+1) td{
    background-color: #2E2F2F;
    color: #FFF;
}

div.commit h3 {
    margin-left: 2%;
}

div.email div#content{
    width: 90%;
    padding: 5px;
    margin: auto;
    margin-top: 10px;
    margin-left: 2%;
    border: 1px solid #30302F;
    border-radius: 15px;
    padding: 10px;
}
